package com.lixiaohan.lushudaohou.entity;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.persistence.Entity;
import javax.persistence.Id;

/**
 * tag与景点发布信息关系表
 */
@Data
@AllArgsConstructor//只加有参构造
@NoArgsConstructor//补上无参构造
@Entity
public class RoamReleaseTag {
    @Id
    private Integer rtId;//发布信息tag对应表id(N)
    private Integer tagId;//话题编号(N)
    private Integer scenicReleaseId;//景点发布信息编号(N)
}
